package com.wwe.kotlinstudy.dm.twelve;

/**
 * @name KotlinStudy
 * @package name：com.wwe.kotlinstudy.dm.twelve
 * @anthor DavidZhang
 * @time 2018/5/21 11:08
 * @class 司令
 */
public class Commander {

    private Command command;

    public Commander(Command command) {
        this.command = command;
    }

    public void action() {
        command.exe();
    }
}
